package io;

import java.io.File;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: ws
 * Date: 2023-07-06
 * Time: 14:12
 */
public class IODemo5 {
    public static void main(String[] args) {
        //重命名
        File src = new File("./test_dir");
        File dest = new File("./test222");
        src.renameTo(dest);
    }
}
